home *** CD-ROM | disk | FTP | other *** search
- /* ======================
- * PedPaneIconAnimated.hh
- * ======================
- *
- * Implemented by PedPaneIconAnimated.cc
- */
-
- #pragma once
-
- #include <Events.h>
-
- #include "PedPaneIcon.hh"
- #include "PedChoreGeneric.hh"
-
- class PedPaneIconAnimated : public PedPaneIcon {
- public:
- PedPaneIconAnimated(PedView &inSuperView);
- virtual ~PedPaneIconAnimated();
- virtual void DispatchClickEvent(EventRecord &inEvent);
- virtual void DispatchNullEvent(EventRecord &inEvent);
-
- virtual void Animate();
-
- protected:
- virtual void Draw();
- bool mAnimating;
- long mCountFrames;
- long mCurrentFrame;
- long mTicksPerFrame;
- long mLastAdvance;
- PedChoreGeneric *mAnimateChore;
- };
-